package nz.co.doherty.gwtpbreadcrumbs.client.ui.common;

import com.philbeaudoin.gwtp.mvp.client.EventBus;
import com.philbeaudoin.gwtp.mvp.client.PresenterWidgetImpl;
import com.philbeaudoin.gwtp.mvp.client.View;

public abstract class ListItemPresenter<Entity_, ListItemView_ extends ListItemView> extends PresenterWidgetImpl<ListItemView_> {

	protected Entity_ entity;

	public ListItemPresenter(EventBus eventBus, ListItemView_ view) {
		super(eventBus, view);		
	}
	
	public void init(Entity_ entity) {
		this.entity = entity;
	}
}
